package cn.edu.neu.studentmsg_java.dao;

import cn.edu.neu.studentmsg_java.model.Appointment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface AppointmentDao {
    List<String> selectTeacherNameByCourseName(String course_name);

    List<String> selectCourseNameByTeacherName(String teacher_name);

    int deleteAppointmentByTeacherId(Integer teacher_id);

    List<Appointment> selectAppointmentPart(Appointment appointment);

    int deleteAppointmentByTeacherIdAndCourseId(Appointment appointment);

    int insertApprointmentByTIdAndCId(Appointment appointment);

    List<Appointment> selectAppointmentCPart(Appointment appointment);

    List<Appointment> selectAppointmentTPart(Appointment appointment);
}
